/***
 * Brian Hession -- February 22, 2013
 *
 * Player
 *
 * Date				Changes
 * 2/22/2013		Initial Version
 *
 */

#include "player.h"

Player::Player() {
	image = NULL;
	pos.x = 0;
	pos.y = 0;
	vx = 0;
	vy = 0;
}

Player::~Player() {
	SDL_FreeSurface( image );
}

void Player::setPosition( SDL_Rect rect ) {
	pos = rect;
}

void Player::setPosition( int x, int y ) {
	pos.x = x;
	pos.y = y;
}

void Player::draw( SDL_Surface* screen ) {
	Graphics::applySurface(&pos,image,screen,a.getImage());
}

void Player::init() {}
void Player::calculate( int delta ) {}
void Player::keyPressed( int key ) {}
void Player::keyReleased( int key ) {}

